package com.xlh.pojo.cases;

import java.io.Serializable;
import java.util.Date;

public class Star implements Serializable {
    private Long id;

    /**
     * 案例id
     *
     * @mbg.generated
     */
    private Long caseId;

    private Long teacherStar;

    private Long studentStar;

    /**
     * 点赞人id
     *
     * @mbg.generated
     */
    private Long starUserId;

    /**
     * 0未删除 1已删除
     *
     * @mbg.generated
     */
    private Boolean deleted;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCaseId() {
        return caseId;
    }

    public void setCaseId(Long caseId) {
        this.caseId = caseId;
    }

    public Long getTeacherStar() {
        return teacherStar;
    }

    public void setTeacherStar(Long teacherStar) {
        this.teacherStar = teacherStar;
    }

    public Long getStudentStar() {
        return studentStar;
    }

    public void setStudentStar(Long studentStar) {
        this.studentStar = studentStar;
    }

    public Long getStarUserId() {
        return starUserId;
    }

    public void setStarUserId(Long starUserId) {
        this.starUserId = starUserId;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", caseId=").append(caseId);
        sb.append(", teacherStar=").append(teacherStar);
        sb.append(", studentStar=").append(studentStar);
        sb.append(", starUserId=").append(starUserId);
        sb.append(", deleted=").append(deleted);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}